<template>
  <div class="menus">
    <van-grid :column-num="5">
      <van-grid-item
        v-for="item in menus"
        :key="item.id"
        :icon="item.pic"
        :text="item.name"
      />
    </van-grid>
  </div>
</template>

<script>
export default {
  name: "FxhDemoMenus",
  props: ["menus"],
  data() {
    return {};
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
.menus {
  width: 345px;
  height: 161px;
  margin: auto;
  &::v-deep .van-grid-item__content {
    width: 69px;
    height: 80px;
  }
  &::v-deep .van-icon__image {
    width: 41px;
    height: 41px;
  }
}
</style>
